/*
 * Animation.h
 *
 *  Created on: 2011/08/09
 *      Author: naoki
 */

#ifndef INCLUDED_NTENGINE_SCENE_ANIMATION_H
#define INCLUDED_NTENGINE_SCENE_ANIMATION_H

namespace NTEngine {

/**
 * @brief Sceneモジュール
 */
namespace Scene {

///アニメーションデータ
class Animation {
public:
	Animation();
	~Animation();
	Animation( const Animation& );
	operator void*() const;
	Animation& operator=( const Animation& );
	void release();
	bool operator==( const Animation& ) const;
	bool operator!=( const Animation& ) const;
	int referenceCount() const;

	class Impl;
	explicit Animation( Impl* );
private:
	friend class Tree;
	Impl* mImpl;
};

} //namespace Scene
} //namespace NTEngine

#endif // INCLUDED_NTENGINE_SCENE_ANIMATION_H
